package com.douyu.water.core.model;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Data implements Serializable {
	private double highlevel;
	private double waterdepth;
	private double sensordepth;
	private String sim;
	private Date setuptime;
	private double groundhigh;
	@DateTimeFormat(pattern="yyyy-MM-dd")
    private Date datetime;
	@DateTimeFormat(pattern="yyyy-MM-dd")
    private Date datetimeend;
	private Double batteryvolt;
	private static final long serialVersionUID = 1L;
	private String stationname;
    private String factname;//所属公司名称

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column DATA.StationNumber
     *
     * @mbggenerated
     */
    private String stationnumber;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column DATA.WaterLevel
     *
     * @mbggenerated
     */
    private Double waterlevel;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column DATA.WaterTemperature
     *
     * @mbggenerated
     */
    private Double watertemperature;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column DATA.AtmosphericPressure
     *
     * @mbggenerated
     */
    private Integer atmosphericpressure;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column DATA.AtmosphericTemperature
     *
     * @mbggenerated
     */
    private Integer atmospherictemperature;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column DATA.SensorStatus
     *
     * @mbggenerated
     */
    private String sensorstatus;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column DATA.BatteryVolt
     *
     * @mbggenerated
     */
   
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table DATA
     *
     * @mbggenerated
     */
   
	public double getGroundhigh() {
		return groundhigh;
	}

	public void setGroundhigh(double groundhigh) {
		this.groundhigh = groundhigh;
	}

	public double getHighlevel() {
		return highlevel;
	}

	public void setHighlevel(double highlevel) {
		this.highlevel = highlevel;
	}

	public double getSensordepth() {
		return sensordepth;
	}

	public void setSensordepth(double sensordepth) {
		this.sensordepth = sensordepth;
	}
	

	public double getWaterdepth() {
		return waterdepth;
	}

	public void setWaterdepth(double waterdepth) {
		this.waterdepth = waterdepth;
	}
	
	public String getSim() {
		return sim;
	}

	public void setSim(String sim) {
		this.sim = sim;
	}

	public Date getSetuptime() {
		return setuptime;
	}

	public void setSetuptime(Date setuptime) {
		this.setuptime = setuptime;
	}
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column DATA.Datetime
     *
     * @mbggenerated
     */
	

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column DATA.Datetime
     *
     * @return the value of DATA.Datetime
     *
     * @mbggenerated
     */
    public Date getDatetime() {
        return datetime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column DATA.Datetime
     *
     * @param datetime the value for DATA.Datetime
     *
     * @mbggenerated
     */
    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column DATA.StationNumber
     *
     * @return the value of DATA.StationNumber
     *
     * @mbggenerated
     */
    public String getStationnumber() {
        return stationnumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column DATA.StationNumber
     *
     * @param stationnumber the value for DATA.StationNumber
     *
     * @mbggenerated
     */
    public void setStationnumber(String stationnumber) {
        this.stationnumber = stationnumber == null ? null : stationnumber.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column DATA.WaterLevel
     *
     * @return the value of DATA.WaterLevel
     *
     * @mbggenerated
     */
    public Double getWaterlevel() {
        return waterlevel == null ? 0 : waterlevel;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column DATA.WaterLevel
     *
     * @param waterlevel the value for DATA.WaterLevel
     *
     * @mbggenerated
     */
    public void setWaterlevel(Double waterlevel) {
        this.waterlevel = waterlevel;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column DATA.WaterTemperature
     *
     * @return the value of DATA.WaterTemperature
     *
     * @mbggenerated
     */
    public Double getWatertemperature() {
        return watertemperature == null ? 0 : watertemperature;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column DATA.WaterTemperature
     *
     * @param watertemperature the value for DATA.WaterTemperature
     *
     * @mbggenerated
     */
    public void setWatertemperature(Double watertemperature) {
        this.watertemperature = watertemperature;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column DATA.AtmosphericPressure
     *
     * @return the value of DATA.AtmosphericPressure
     *
     * @mbggenerated
     */
    public Integer getAtmosphericpressure() {
        return atmosphericpressure;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column DATA.AtmosphericPressure
     *
     * @param atmosphericpressure the value for DATA.AtmosphericPressure
     *
     * @mbggenerated
     */
    public void setAtmosphericpressure(Integer atmosphericpressure) {
        this.atmosphericpressure = atmosphericpressure;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column DATA.AtmosphericTemperature
     *
     * @return the value of DATA.AtmosphericTemperature
     *
     * @mbggenerated
     */
    public Integer getAtmospherictemperature() {
        return atmospherictemperature;
    }

    public String getFactname() {
		return factname;
	}

	public void setFactname(String factname) {
		this.factname = factname;
	}

	/**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column DATA.AtmosphericTemperature
     *
     * @param atmospherictemperature the value for DATA.AtmosphericTemperature
     *
     * @mbggenerated
     */
    public void setAtmospherictemperature(Integer atmospherictemperature) {
        this.atmospherictemperature = atmospherictemperature;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column DATA.SensorStatus
     *
     * @return the value of DATA.SensorStatus
     *
     * @mbggenerated
     */
    public String getSensorstatus() {
        return sensorstatus;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column DATA.SensorStatus
     *
     * @param sensorstatus the value for DATA.SensorStatus
     *
     * @mbggenerated
     */
    public void setSensorstatus(String sensorstatus) {
        this.sensorstatus = sensorstatus == null ? null : sensorstatus.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column DATA.BatteryVolt
     *
     * @return the value of DATA.BatteryVolt
     *
     * @mbggenerated
     */
    public Double getBatteryvolt() {
        return batteryvolt;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column DATA.BatteryVolt
     *
     * @param batteryvolt the value for DATA.BatteryVolt
     *
     * @mbggenerated
     */
    public void setBatteryvolt(Double batteryvolt) {
        this.batteryvolt = batteryvolt;
    }

	public Date getDatetimeend() {
		return datetimeend;
	}

	public void setDatetimeend(Date datetimeend) {
		this.datetimeend = datetimeend;
	}

	public String getStationname() {
		return stationname;
	}

	public void setStationname(String stationname) {
		this.stationname = stationname;
	}
    
}